﻿Ext.define('I2R.model.user', {
    extend: 'Ext.data.Model',
    fields: [
        { name: 'Id' },
        { name: 'Username' },
        { name: 'Firstname' },
        { name: 'Lastname' },
        { name: 'Fullname', convert : function (v, rec) {
                return rec.get('Firstname') + ' ' + rec.get('Lastname');
            }
        }

    ],
});